package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Description TODO
 * @Author dingchunlin
 * @Date 2024/1/27 16:55
 * @Version 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SkuItemVo {

    //查询sku基本信息 pms_sku_info
    private SkuInfoEntity info;

    Boolean hasStock = true;

    //sku的图片信息  pms_sku_images
    private List<SkuImagesEntity> images;

    //获取spu的销售属性组合
    private List<ItemSaleAttrsVo> saleAttr;

    //获取spu的介绍
    private SpuInfoDescEntity desp;

    //获取spu的规格参数信息
    private List<SpuItemAttrGroupVo> groupAttrs;



}
